package com.bbzn.user.client.dao.user;

import com.bbzn.user.client.dataobject.UserProcess;
import java.util.Date;
import java.util.List;

import com.bbzn.user.client.dto.user.UserProcessDTO;
import org.apache.ibatis.annotations.Param;

public interface UserProcessMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserProcess record);

    int insertOrUpdate(UserProcess record);

    int insertOrUpdateSelective(UserProcess record);

    int insertSelective(UserProcess record);

    UserProcess selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserProcess record);

    int updateByPrimaryKey(UserProcess record);

    List<UserProcess> findByAll(UserProcess userProcess);

    int updateBatch(List<UserProcess> list);

    int updateBatchSelective(List<UserProcess> list);

    int batchInsert(@Param("list") List<UserProcess> list);

    List<UserProcessDTO> selUserProcessListByCompany(UserProcess record);

    List<UserProcessDTO> selUserProcessListByUser(UserProcess record);
}